package com.roger.myHome.convert;

import com.roger.myHome.domain.TbFinancial;
import com.roger.myHome.domain.TbLottery;
import com.roger.myHome.domain.TbMedicalHistory;
import com.roger.myHome.domain.TbWeather;
import com.roger.myHome.entity.dto.FinancialAddReq;
import com.roger.myHome.entity.dto.LotteryAddReq;
import com.roger.myHome.entity.dto.MedicalHistoryAddReq;
import com.roger.myHome.entity.vo.Forecast;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface IReqMapper {
    IReqMapper INSTANCE = Mappers.getMapper(IReqMapper.class);

    TbFinancial add2DO(FinancialAddReq request);

    TbWeather add2DO(Forecast forecast);

    TbMedicalHistory add2DO(MedicalHistoryAddReq req);

    TbLottery add2DO(LotteryAddReq req);

}
